// 路由配置
import Layout from "../pages/loyout/Layout";
import Singuo from "../pages/singin/Singin";
import Login from "../pages/login/Login";
import Home from "../pages/home/Home";

// 定义路由的配置文件
const routes=[
  {
    path:'/',
    element:<Layout/>,
    children:[
      {
        path:'/',
        element:<Home/>
      }
    ]
  },
  {
    path:'/login',
    element:<Login/>
  },
  {
    path:'/singup',
    element:<Singuo/>
    }

]
export default routes